#pragma once

#include"HiKernel/HiModule.h"


class HI_DLLEXPORT mHiBikeController : public HiModule
{
private:

	float m_fUnitMoveX;

	float m_fUnitMoveY;

	float m_fUnitMoveZ;

protected:

	D3DXVECTOR3			m_vTrans;
	HiSFVec3f			*m_vVec3f;


public:

	mHiBikeController(HiXmlNode*xml=NULL);                                   
	virtual ~mHiBikeController() {}   

	void			Realize();

	void PostConfig();
	void Update();     
	void Render();    

	bool HandleMessage(const Telegram& msg);

	int ParseXml(HiXmlNode*xml);// {return 1;};
	int SetXmlAttrs(HiXmlNode*xml)                  { return 1; }

};